//引入数据库
const mysql = require('mysql');
//创建连接池
const pool = mysql.createPool({
    host:'127.0.0.1',
    prot:'3306',
    user:'root',
    password:'',
    database:'ku'
});
//导出连接池
module.exports = pool;